<script lang="ts" setup>
  import { ref } from 'vue'
  import { onLoad } from '@dcloudio/uni-app'
  import { getSystemAboutShow } from '@/api'
  const randerMon = ref(333333333333333333333)
  const imgUrlList = ref([])
  onLoad( () => {
    // #ifdef MP-WEIXIN
    uni.showShareMenu({
      withShareTicket: true,
      menus:["shareAppMessage","shareTimeline"]
    })
    // #endif
    getSystemAboutShow().then(res => {
      if (res.data.imgUrl){
        imgUrlList.value = JSON.parse(res.data.imgUrl)
      }
    })
  })
</script>
<template>
  <xx-title title="关于我们"/>
  <view class="training-camp">
    <image v-for="(item, index) in imgUrlList" :key="index" mode="widthFix" :src="`${item.fullUrl}`"/>
<!--    <image mode="widthFix" :src="`${$Prefix}/public/images/smallImage/trainingCamp-2.jpg?${randerMon}`"/>-->
<!--    <image mode="widthFix" :src="`${$Prefix}/public/images/smallImage/trainingCamp-3.jpg?${randerMon}`"/>-->
  </view>
</template>
<style lang="scss" scoped>
  .training-camp{
    width: 100%;
    image{
      width: 100%;
      display: block;
    }
  }
</style>
